home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 4 / Macwelt DVD 4.cdr / Internet / Internet-Utilities / Mac-OS X / darkstat-2.2 / po / insert-header.sin < prev    next >
MacBinary  |  2002-09-23  |  1.3 KB  |  [□□□□/□□□□]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Sep 23 03:32:04 2002, modified Mon Sep 23 03:32:04 2002, 672 bytes "insert-header.sin" , at 0x320 286 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[□□□□]
macFileCreator[□□□□]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 69 6e 73 65 72 74 | 2d 68 65 61 64 65 72 2e |..insert|-header.|
|00000010| 73 69 6e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |sin.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 02 a0 00 | 00 01 1e b9 b4 73 f4 b9 |........|.....s..|
|00000060| b4 73 f4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.s......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a5 c0 00 00 |........|........|
|00000080| 23 20 53 65 64 20 73 63 | 72 69 70 74 20 74 68 61 |# Sed sc|ript tha|
|00000090| 74 20 69 6e 73 65 72 74 | 73 20 74 68 65 20 66 69 |t insert|s the fi|
|000000a0| 6c 65 20 63 61 6c 6c 65 | 64 20 48 45 41 44 45 52 |le calle|d HEADER|
|000000b0| 20 62 65 66 6f 72 65 20 | 74 68 65 20 68 65 61 64 | before |the head|
|000000c0| 65 72 20 65 6e 74 72 79 | 2e 0a 23 0a 23 20 41 74 |er entry|..#.# At|
|000000d0| 20 65 61 63 68 20 6f 63 | 63 75 72 72 65 6e 63 65 | each oc|currence|
|000000e0| 20 6f 66 20 61 20 6c 69 | 6e 65 20 73 74 61 72 74 | of a li|ne start|
|000000f0| 69 6e 67 20 77 69 74 68 | 20 22 6d 73 67 69 64 20 |ing with| "msgid |
|00000100| 22 2c 20 77 65 20 65 78 | 65 63 75 74 65 20 74 68 |", we ex|ecute th|
|00000110| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 0a 23 20 63 6f |e follow|ing.# co|
|00000120| 6d 6d 61 6e 64 73 2e 20 | 41 74 20 74 68 65 20 66 |mmands. |At the f|
|00000130| 69 72 73 74 20 6f 63 63 | 75 72 72 65 6e 63 65 2c |irst occ|urrence,|
|00000140| 20 69 6e 73 65 72 74 20 | 74 68 65 20 66 69 6c 65 | insert |the file|
|00000150| 2e 20 41 74 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |. At the| followi|
|00000160| 6e 67 0a 23 20 6f 63 63 | 75 72 72 65 6e 63 65 73 |ng.# occ|urrences|
|00000170| 2c 20 64 6f 20 6e 6f 74 | 68 69 6e 67 2e 20 54 68 |, do not|hing. Th|
|00000180| 65 20 64 69 73 74 69 6e | 63 74 69 6f 6e 20 62 65 |e distin|ction be|
|00000190| 74 77 65 65 6e 20 74 68 | 65 20 66 69 72 73 74 20 |tween th|e first |
|000001a0| 61 6e 64 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |and the |followin|
|000001b0| 67 0a 23 20 6f 63 63 75 | 72 72 65 6e 63 65 73 20 |g.# occu|rrences |
|000001c0| 69 73 20 61 63 68 69 65 | 76 65 64 20 62 79 20 6c |is achie|ved by l|
|000001d0| 6f 6f 6b 69 6e 67 20 61 | 74 20 74 68 65 20 68 6f |ooking a|t the ho|
|000001e0| 6c 64 20 73 70 61 63 65 | 2e 0a 2f 5e 6d 73 67 69 |ld space|../^msgi|
|000001f0| 64 20 2f 7b 0a 78 0a 23 | 20 54 65 73 74 20 69 66 |d /{.x.#| Test if|
|00000200| 20 74 68 65 20 68 6f 6c | 64 20 73 70 61 63 65 20 | the hol|d space |
|00000210| 69 73 20 65 6d 70 74 79 | 2e 0a 73 2f 6d 2f 6d 2f |is empty|..s/m/m/|
|00000220| 0a 74 61 0a 23 20 59 65 | 73 20 69 74 20 77 61 73 |.ta.# Ye|s it was|
|00000230| 20 65 6d 70 74 79 2e 20 | 46 69 72 73 74 20 6f 63 | empty. |First oc|
|00000240| 63 75 72 72 65 6e 63 65 | 2e 20 52 65 61 64 20 74 |currence|. Read t|
|00000250| 68 65 20 66 69 6c 65 2e | 0a 72 20 48 45 41 44 45 |he file.|.r HEADE|
|00000260| 52 0a 23 20 4f 75 74 70 | 75 74 20 74 68 65 20 66 |R.# Outp|ut the f|
|00000270| 69 6c 65 27 73 20 63 6f | 6e 74 65 6e 74 73 20 62 |ile's co|ntents b|
|00000280| 79 20 72 65 61 64 69 6e | 67 20 74 68 65 20 6e 65 |y readin|g the ne|
|00000290| 78 74 20 6c 69 6e 65 2e | 20 42 75 74 20 64 6f 6e |xt line.| But don|
|000002a0| 27 74 20 6c 6f 73 65 20 | 74 68 65 0a 23 20 63 75 |'t lose |the.# cu|
|000002b0| 72 72 65 6e 74 20 6c 69 | 6e 65 20 77 68 69 6c 65 |rrent li|ne while|
|000002c0| 20 64 6f 69 6e 67 20 74 | 68 69 73 2e 0a 67 0a 4e | doing t|his..g.N|
|000002d0| 0a 62 62 0a 3a 61 0a 23 | 20 54 68 65 20 68 6f 6c |.bb.:a.#| The hol|
|000002e0| 64 20 73 70 61 63 65 20 | 77 61 73 20 6e 6f 6e 65 |d space |was none|
|000002f0| 6d 70 74 79 2e 20 46 6f | 6c 6c 6f 77 69 6e 67 20 |mpty. Fo|llowing |
|00000300| 6f 63 63 75 72 72 65 6e | 63 65 73 2e 20 44 6f 20 |occurren|ces. Do |
|00000310| 6e 6f 74 68 69 6e 67 2e | 0a 78 0a 3a 62 0a 7d 0a |nothing.|.x.:b.}.|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000390| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|000003a0| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|000003b0| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+